<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div id="app">
      <ul>
        <li v-for="value in hobbys">{{value}}</li>
      </ul>
      <hr />
      <ul>
        <li v-for="value in newHobbys">{{value}}</li>
      </ul>
    </div>
    <script src="./vue.js"></script>
    <script>
      new Vue({
        el: "#app",
        data: {
          hobbys: ["css", "html", "js"],
        },
        computed: {
          newHobbys() {
            // return this.hobbys.filter((el) => el.includes("s"));
            return this.hobbys.slice(1);
          },
        },
      });
    </script>
  </body>
</html>
